# f = open('/tmp/mima')
# for line in f:
# #     print(line,end='')
# >>> f1 = open('/tmp/mim')
# >>> f2 = open('/tmp/mima', 'w')
# data = f1.read()
# f2.write(data)
# >>> f1.close()
# # >>> f2.close()
# # >>> data
# #with语句：
# with open('/tmp/mima') as f:
#     data = f.readline()
#     print(data)
# with open('/tmp/mima') as f:
#     data = f.readline()
# print(data)
# >>> f1 = open('/bin/ls','rb')
# >>> f2 = open('/root/ls', 'wb')
# >>> data = f1.read()
# >>> f2.write(data)
# 117672
# >>> f1.close()
# >>> f2.close()
